find the duplicate words in given string